package com.xinqi.modules.course.clazz.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 班级日志-查询参数
 *
 * @author: system
 * @date: 2023/01/17
 */
@Data
@Schema(description = "课程操作日志-查询")
public class ClassOperationLogQueryDTO implements Serializable {
    /**
     * ID
     */
    private Long id;

    private Long courseId;

    private Long classId;

    private Long studentId;

    /**
     * 日志类型，类型，QUIT-自己退出，MOVE_OUT-被老师移出（前端只需要传QUIT即可），AUTO_JOIN-自动审核加入，AUDIT_JOIN-审核通过进入
     */
    private String type;

    @Schema(description = "日志类型-多类型查询", example = "['QUIT','MOVE_OUT']")
    private List<String> types;

    /**
     * 是否是老师，0-否，1-是
     */
    private Integer isTeacher;

    /**
     * TEACHER("TEACHER", "老师"),ASSISTANT("ASSISTANT", "助教"),REPRESENTATIVE("REPRESENTATIVE", "课代表"),STUDENT("STUDENT", "学生");
     */
    private String classRole;

}
